package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Product;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 商品管理
 */
public interface IProductService {
    PageInfo query(QueryObject qo);

    void saveOrUpdate(Product product);

    void delete(Long id);

    Product get(Long id);

    List<Product> getShoppingCart(List<Long> productids);
}
